Skip to content

Conversation

@Hweinstock
Copy link
Contributor

@Hweinstock Hweinstock commented Nov 15, 2024

Problem

Follow up to #6018 (comment)

Solution

  • Run ssh within the same env as it will be run on real connection.
  • Log any resulting errors, and inform user where the process failed.
  • Also part of this PR is moving some functions to remoteSession.ts that are general enough to be there.

Error msg:
Screenshot 2024-11-15 at 5 53 51 PM


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions

This comment was marked as resolved.

Copy link
Contributor

@justinmk3 justinmk3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome

@Hweinstock Hweinstock changed the title feat(ec2): dry run connection script to surface errors earlier. (WIP) feat(ec2): dry run connection script to surface errors earlier. Nov 18, 2024
@Hweinstock Hweinstock marked this pull request as ready for review November 19, 2024 13:55
@Hweinstock Hweinstock requested a review from a team as a code owner November 19, 2024 13:55
@Hweinstock Hweinstock changed the base branch from master to feature/postreinvent December 4, 2024 19:20
Copy link
Contributor

@justinmk3 justinmk3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@Hweinstock Hweinstock merged commit 4c38aab into aws:feature/postreinvent Dec 5, 2024
24 checks passed
@Hweinstock Hweinstock deleted the ec2/sshDryRun branch December 5, 2024 15:24
karanA-aws pushed a commit to karanA-aws/aws-toolkit-vscode that referenced this pull request Jan 17, 2025
…6037)

## Problem
Follow up to
aws#6018 (comment)

## Solution
- Run `ssh` within the same env as it will be run on real connection. 
- Log any resulting errors, and inform user where the process failed. 
- Also part of this PR is moving some functions to `remoteSession.ts`
that are general enough to be there.

Error msg:
<img width="1518" alt="Screenshot 2024-11-15 at 5 53 51 PM"
src="https://github.com/user-attachments/assets/e8e56887-b792-43e3-9d94-73d0e5246766">


---

<!--- REMINDER: Ensure that your PR meets the guidelines in
CONTRIBUTING.md -->

License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.

---------

Co-authored-by: Justin M. Keyes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants